//const { mode } = require("./webpack.config.prod")
const path = require('path')
const fs = require('fs')
module.exports={
    mode:'development',
    devtool: 'source-map',
    devServer:{
        open:true,
        host:'0.0.0.0',
        allowedHosts: "all",
        /*server: {
            type: 'https',
            options: {
                key: fs.readFileSync(path.join(__dirname, 'server.key')),
                cert: fs.readFileSync(path.join(__dirname, 'server.crt'))
            }
        }*/
    }
}